package cn.iocoder.yudao.module.enterprise.convert.organization;

import cn.iocoder.yudao.module.enterprise.controller.admin.organization.vo.OrganizationCreateReqVO;
import cn.iocoder.yudao.module.enterprise.controller.admin.organization.vo.OrganizationRespVO;
import cn.iocoder.yudao.module.enterprise.controller.admin.organization.vo.OrganizationUpdateReqVO;
import cn.iocoder.yudao.module.enterprise.dal.dataobject.organization.OrganizationDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 组织基本信息 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface OrganizationConvert {

    OrganizationConvert INSTANCE = Mappers.getMapper(OrganizationConvert.class);

    OrganizationDO convert(OrganizationCreateReqVO bean);

    OrganizationDO convert(OrganizationUpdateReqVO bean);

    OrganizationRespVO convert(OrganizationDO bean);

}
